package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

public interface KhzlDao {

	List<Map<String, Object>> getKhzlsListForPage(
			@Param(value = "zlmc")String zlmc,
			@Param(value = "page") Page page,
			@Param(value = "deptId")Long deptId,
			@Param(value = "userId")Long userId);

	void addKhzl (@Param(value = "batchId")String batchId,
	 @Param(value = "deptId")long deptId,
	 @Param(value = "userName")String userName, 
	 @Param(value = "fileName")String fileName,
	 @Param(value = "path")String path,
	 @Param(value = "userId")long userId);

	void updateKhzl(@Param(value = "id")String id, 
			@Param(value = "type")String type, 
			@Param(value = "condition")String condition);

}
